module.exports = function (sequelize, DataTypes) {
    return sequelize.define(
        'user_role',
        {
            id: {
                type: DataTypes.INTEGER,
                primaryKey: true,
                autoIncrement: true,
                comment:'主键'
            },
            account: {
                type: DataTypes.STRING,
                field: 'account',
                comment:'用户账号'
            },
            role_id: {
                type: DataTypes.STRING,
                field: 'role_id',
                comment:'角色Id'
            }
        }
    );
}
